home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
ptrp25dm.zip
/
ETEST11.TRP
< prev
next >
Wrap
Text File
|
1995-03-18
|
594b
|
25 lines
procedure main
var
a1 : array[1 .. 9] of boolean;
i : byte;
t : byte;
endVar
for i := 1 to 9
t := i % 2;
if (t = 1)
a1[i] := false
else
a1[i] := true
endif
endFor
i := 9
while (i > 0)
if (a1[i])
writeln(i, ' ', 'true')
else
writeln(i, ' ', 'false')
endif
dec(i);
endWhile
endProc